import {
	http
} from '../httpIndex.js'

export default {
	// 宿舍列表
	getPageList(data) {
		return http.post(
			`app/notReturned/pageList`, data
		)
	},

	// 获取已完成审批列表
	findHistoryApproval(data) {
		return http.post(
			`app/notReturned/findHistoryApproval`, data
		)
	},
	// 获取学生详细信息
	getStudentById(id) {
		return http.get(
			`app/Student/getStudentById/${id}`
		)
	},
	
	// 批量获取学生详细信息
	getStudentByIds(studentNos) {
		return http.post(`app/Student/getStudentByIds`, {
			studentNos: studentNos
		})
	},

	// 补卡
	updateStudentSdAttence(data) {
		return http.post(
			`app/ManualAttence/updateStudentSdAttence`, data
		)
	},


	// 已补卡列表
	getMendCardStuList(accessDate) {
		return http.get(
			`app/ManualAttence/getMendCardStuList?accessDate=${accessDate}`
		)
	},

}